@import url(./footer.css);

#header {
    width: 100%;
    padding: 27px 80px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;

    img {
        width: 79px;
        height: 31px;
    }

    .right {
        display: flex;
        justify-content: space-between;
        width: 60%;

        a {
            padding-bottom: 6px;
            font-size: 16px;
            color: rgb(170, 170, 187);
        }

        a.active {
            color: rgb(0, 0, 0);
            border-bottom: 2px solid rgb(0, 0, 0);
            font-weight: 600;
        }
    }
}

#nav {
    width: 100%;
    background-color: #000;
    border-top: 2px solid #608cfc;

    ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    li {
        flex: 1;
        height: 60px;
        line-height: 60px;
        text-align: center;

        a {
            display: block;
            color: #fff;
        }

        a:hover {
            background-color: #fff;
            color: #000 !important;
        }
    }

    li:nth-last-child(1) {
        line-height: 30px;
        background-color: #fff;

        a {
            color: #000;
        }
    }

    .user {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
}

#main {
    width: 1100px;
    margin: 0 auto;

    .nav {
        padding: 30px 0;
        width: 100%;
        display: flex;

        a {
            display: block;
            margin: 0 8px;
            color: #608cfc;
        }

        span {
            display: block;
            margin: 0 8px;
            color: #608cfc;
        }

        em {
            font-style: normal;
        }
    }

    .intro {
        display: flex;
        align-items: center;
        justify-content: space-between;

        .leftImg {
            width: 511px;
            height: 300px;
            padding: 80px 30px 80px 30px;

            img {
                width: 511px;
                height: auto;
            }
        }

        .right {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;

            p {
                padding: 20px 0;
            }

            .price {
                font-weight: bold;
                font-size: 26px;
                text-align: center;
                width: 100%;
            }

            .sec {
                display: flex;
                padding: 0;
                margin: 10px 0;
                border: 1px solid #000;

                span {
                    font-size: 20px;
                    display: block;
                    width: 30px;
                    height: 30px;
                    background-color: #eee;
                    user-select: none;
                    cursor: pointer;
                }
            }

            .name {
                width: 400px;
                text-align: center;
            }

            .moreIntro {
                width: 400px;
                text-align: left;
                text-indent: 2em;
            }

            button {
                width: 60%;
                height: 50px;
                background-color: #fdb928;
                border: 0;
                color: #fff;
                font-weight: bold;
                font-size: 18px;
                letter-spacing: 3px;
                cursor: pointer;
            }

            button:hover {
                background-color: #ffb20b;
            }

            button:active {
                background-color: #ca992d;
            }
        }
    }
}

#bigImg {
    margin-top: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    img {
        width: 700px;
        height: auto;
    }
}